package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 商品图片对象 shanglala_product_image
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class ProductImage
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String image;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 0:商品图片 1:详情图片 轻小店 */
    @Excel(name = "0:商品图片 1:详情图片 轻小店")
    private Integer type;

    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("image", getImage())
            .append("sort", getSort())
            .append("type", getType())
            .toString();
    }
}
